
	<div class="block">
<div class="invertedshiftdown">
		
		<ul>
			<li><a href="?page=manage_users">用户管理</a></li>
			<li class="current"><a href="?page=manage_organizations">机构管理</a></li>
			<li><a href="?page=manage_items">产品管理</a></li>
            <li><a href="?page=manage_transaction">撤销错误记录（慎用）</a></li>
 		</ul>
		<form id="myform">
			<input type="text" class="textinput" /> <input class="submit" type="submit" value="搜索" />
		</form>
	</div>
	<br style="clear: both;" />
<div id= 'content'>
	<h2>管理机构》更改机构》<?php echo $organization->name?></h2>
	
<br>

<div class="done" style="display:none;">
<b>操作成功</b>
<a href=<?php echo "?page=alter_organization&id=".$organization->id?>>返回</a>
</div>

    <div class="form">
    	<b>更改列表</b>
        <form action="api/" method="post">
        	<input type="hidden" id='action' name="action" value="alter_organization" />
        	<input type="hidden" id='id' name="id" value=<?php echo $organization->id?> />


   <div class="element">
        <label>机构类型</label>
  <select name="type"> 
  	<?php
  	if($organization->type=='s'){
  	?>
        <option VALUE="s" selected="selected">商铺</option>
        <option VALUE="w"> 仓库</option>
          	<?php

 }else{
	?>
	 <option VALUE="s">商铺</option>
        <option VALUE="w" selected="selected"> 仓库</option>
	<?php
 }
	?>
    </select>
    </div>
    
    <div class="element">
        <label>机构名字</label>
 
        <input type="text" id="name" name="name" class="text" value=<?php echo $organization->name?> >
    </div>
    <div class="element">
        <label>机构描述</label>
  <textarea cols="40" rows="5" name="des">
<?php echo $organization->des?>
</textarea>
       
    </div>

    <div class="element">
<input type="submit" value="递交" />
        <div class="loading"></div>
    </div>
    </form>
    </div>
    </div>
<div class="clear"></div>
	</div>